import {
	createRouter,
	createWebHashHistory
} from 'vue-router'
import Index from '@/views/Index.vue'
import WenXinHome from '@/views/WenXinHome.vue'

const routes = [{
		path: '/',
		name: 'index',
		meta: {
			title: 'index'
		},
		component: Index
	},
	{
		path: '/wenxin_home',
		name: 'wenxin_home',
		meta: {
			title: 'wenxin_home'
		},
		component: WenXinHome
	}

]

const router = createRouter({
	history: createWebHashHistory(),
	routes
})

export default router